import logo from '@/assets/images/logo.png';
import useIntlCustom from '@/hooks/useIntlCustom';

import styles from './index.less';

export default function LogoBar() {
  const { translate } = useIntlCustom();
  return (
    <div className={styles.logo}>
      <img alt="logo" src={logo} style={{ height: 36, width: 36, marginRight: 12 }} />
      <span>{translate('common', 'bankName')}</span>
    </div>
  );
}
